WebService introduction WebService is generated for the communication of heterogeneous systems. its basic idea is to provide a standard mechanism for remote calls using XML-based HTTP, this eliminates the need to establish a new protocol. At present,
Author: Ruheng
Address: http://www.jianshu.com/p/c1d6a294d3c0
In this paper, the HTTP request and response process to explain the relevant knowledge points involved.
First
HTTP requests and corresponding steps
Picture from: Understanding HTTP
In the previous article in this series, you saw how the Ajax applicationXML format the request sent to the server. I also learned why this is not a good idea in most cases. This article focuses on a good idea in most cases: Returning XML responses
a more comprehensive set of PHP tutorials , basic video and some small combat projects, below is the video directoryCD-ROM (i) \php employment Class (I.)CD-ROM (i) \php Technical exchange zone. URLCD-ROM (i) \ "Wisdom Special issue" belongs to it
1. XML Format specification:① must have a root element② cannot have spaces, cannot be in numbers or. Start, case sensitive③ non-overlapping nesting④ Attribute double quotation marks (the browser is automatically corrected into double quotes)⑤
Php integrates the xml-RPC and SOAP protocols for access, both of which are concentrated in the xmlrpc extension. In addition, in php pear, both PHP4 and PHP5 have been integrated with the XML-RPC extension by default, and the extension has nothing
The XML-RPC in PHP constructs WebService. PHP integrates access to both XML-RPC and SOAP protocols, both of which are concentrated in xmlrpc extensions. In addition, in php pear, both PHP4 and PHP5 have been integrated with the XML-RPC extension by
HTTP protocol:HTTP, Hypertext Transfer Protocol (hypertext Transfer Protocol) is the most widely used network protocol on the Internet! All WWW files must adhere to this standard, the original purpose of design HTTP is to provide a way to publish
Web Service is generated for the communication of heterogeneous systems. Its basic idea is to use XML-based HTTP remote calls to provide a standard mechanism, this eliminates the need to establish a new protocol. At present, there are two protocol
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.